package com.xebia.pomodoro.messages
{
	import com.xebia.pomodoro.enums.P2PMessageType;

	public class ChatMessage extends P2PMessage
	{
		public var messageText:String;

		public function ChatMessage(username:String)
		{
			super(P2PMessageType.CHAT, username);
		}

		override public function toString():String
		{
			return username + ":" + messageText;
		}
	}
}
